

STRINGS.NAMES.STARRY_BAG = '多格背包'
STRINGS.CHARACTERS.GENERIC.DESCRIBE.STARRY_BAG = '蕴含星空的力量'

-- 修改 ContainerWidget
AddClassPostConstruct('widgets/containerwidget', function(self, ...)
	-- 保存旧的Open方法
	local old_Open = self.Open
	function self:Open(container, doer, ...)
		if old_Open then
			old_Open(self, container, doer, ...)
		end

		-- 兼容 player_container 的缩放
		if self.container and self.container.prefab and self.container.prefab == "starry_bag" and self.bganim ~= nil then
			self.bganim:SetScale(1.8, 1, 1)
		end
	end
end)